import requestPlat from '@/common/requestPlat'
import Qs from 'qs';

// 新增宠物提醒
export let addRemind = (data) => {
	return requestPlat({
		method: 'post',
		url: `cargo/user/notice/batch/add`,
		headers: {
			"Content-Type": 'application/json'
		},
		data
	})
}
// 删除历史提醒
export let delRemind = (data) => {
	return requestPlat({
		method: 'post',
		url: `cargo/user/notice/del?opid=${data}`,
	})
}

// 获取宠物提醒数量
export let getRemindNum = (params) => {
	return requestPlat({
		method: 'get',
		url: `cargo/user/notice/cargo/count`,
		params
	})
}
// 获取历史提醒
export let pageRemind = (params) => {
	return requestPlat({
		method: 'get',
		url: `cargo/user/notice/page/${params.page}/${params.limit}`,
		params
	})
}
// 获取历史提醒
export let listRemind = (params) => {
	return requestPlat({
		method: 'get',
		url: `cargo/user/notice/list`,
		params
	})
}

